package com.cm.course.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * @author xdf
 * @date 2023-06-21
 */
@Data
@TableName(value ="student")
public class Student implements Serializable {
    /**
     * 学生Id（学号）
     */
    @TableId(value = "stu_id")
    private Integer stuId;

    /**
     * 学生姓名
     */
    @TableField(value = "stu_name")
    private String stuName;

    /**
     * 学生密码
     */
    @TableField(value = "stu_password")
    private String stuPassword;

    /**
     * 学生年龄
     */
    @TableField(value = "stu_age")
    private Integer stuAge;

    /**
     * 学生性别
     */
    @TableField(value = "stu_sex")
    private String stuSex;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
